package cn.stylefeng.guns.modular.form.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * Guns复杂表单的示例
 * </p>
 *
 * @author stylefeng
 * @since 2019-02-23
 */
@TableName("sys_eg_form")
public class EgForm implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value ="form_id" , type = IdType.AUTO)
    private Long formId;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    /**
     * 单个时间
     */
    @TableField("single_time")
    private String singleTime;

    /**
     * 时间段
     */
    @TableField("between_time")
    private String betweenTime;

    /**
     * 单行选择
     */
    @TableField("simple_select")
    private String simpleSelect;

    /**
     * 分组选择
     */
    @TableField("fenzu_select")
    private String fenzuSelect;

    /**
     * 搜索选择
     */
    @TableField("modules")
    private String modules;

    /**
     * 多个选择
     */
    @TableField("multi_select_hidden")
    private String multiSelectHidden;

    /**
     * 图片文件id
     */
    @TableField("picture_input_hidden")
    private String pictureInputHidden;

    /**
     * 文件id
     */
    @TableField("file_input_hidden")
    private String fileInputHidden;

    /**
     * 开关标识
     */
    @TableField("close_flag")
    private String closeFlag;

    /**
     * 单选
     */
    @TableField("sex")
    private String sex;

    /**
     * 复选框
     */
    @TableField("checkbox")
    private String checkbox;

    /**
     * 数字
     */
    @TableField("number")
    private Integer number;

    /**
     * 长字段
     */
    @TableField("long_text")
    private String longText;

    public EgForm() {
    }


    public void setFormId(Long formId) {
        this.formId = formId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSingleTime(String singleTime) {
        this.singleTime = singleTime;
    }

    public void setBetweenTime(String betweenTime) {
        this.betweenTime = betweenTime;
    }

    public void setSimpleSelect(String simpleSelect) {
        this.simpleSelect = simpleSelect;
    }

    public void setFenzuSelect(String fenzuSelect) {
        this.fenzuSelect = fenzuSelect;
    }

    public void setModules(String modules) {
        this.modules = modules;
    }

    public void setMultiSelectHidden(String multiSelectHidden) {
        this.multiSelectHidden = multiSelectHidden;
    }

    public void setPictureInputHidden(String pictureInputHidden) {
        this.pictureInputHidden = pictureInputHidden;
    }

    public void setFileInputHidden(String fileInputHidden) {
        this.fileInputHidden = fileInputHidden;
    }

    public void setCloseFlag(String closeFlag) {
        this.closeFlag = closeFlag;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setCheckbox(String checkbox) {
        this.checkbox = checkbox;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public void setLongText(String longText) {
        this.longText = longText;
    }


    public Long getFormId() {
        return this.formId;
    }

    public String getName() {
        return this.name;
    }

    public String getSingleTime() {
        return this.singleTime;
    }

    public String getBetweenTime() {
        return this.betweenTime;
    }

    public String getSimpleSelect() {
        return this.simpleSelect;
    }

    public String getFenzuSelect() {
        return this.fenzuSelect;
    }

    public String getModules() {
        return this.modules;
    }

    public String getMultiSelectHidden() {
        return this.multiSelectHidden;
    }

    public String getPictureInputHidden() {
        return this.pictureInputHidden;
    }

    public String getFileInputHidden() {
        return this.fileInputHidden;
    }

    public String getCloseFlag() {
        return this.closeFlag;
    }

    public String getSex() {
        return this.sex;
    }

    public String getCheckbox() {
        return this.checkbox;
    }

    public Integer getNumber() {
        return this.number;
    }

    public String getLongText() {
        return this.longText;
    }



    public String toString() {
        return "EgForm(formId=" + this.getFormId() + ", name=" + this.getName() + ", singleTime=" + this.getSingleTime() + ", betweenTime=" + this.getBetweenTime() + ", simpleSelect=" + this.getSimpleSelect() + ", fenzuSelect=" + this.getFenzuSelect() + ", modules=" + this.getModules() + ", multiSelectHidden=" + this.getMultiSelectHidden() + ", pictureInputHidden=" + this.getPictureInputHidden() + ", fileInputHidden=" + this.getFileInputHidden() + ", closeFlag=" + this.getCloseFlag() + ", sex=" + this.getSex() + ", checkbox=" + this.getCheckbox() + ", number=" + this.getNumber() + ", longText=" + this.getLongText() + ")";
    }
}
